package com.itheima.springboot_14_test.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.springboot_14_test.domain.Book;


public interface IBookService extends IService<Book> {//这能快速的构建一个service接口,从而
    //从而避免建立多个事物的service占用大量时间
    IPage<Book> getPage(int currentPage,int pageSize);
    IPage<Book> getPage(int currentPage,int pageSize,String name);
}
